package com.mes.cloud.dto;

import com.mes.cloud.util.ExcelAttribute;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 视图层
 *
 * @author wxm
 * @Time 2019-5-22
 */
@ApiModel(value = "BcViewDTO", description = "视图")
@Data
public class BcViewDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "编号", column = "A")
    private String id;
    /**
     * 名称
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "名称", column = "B")
    private String name;
    /**
     * 编码
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "编码", column = "C")
    private String code;
    /**
     * 模块
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "模块", column = "D")
    private String module;

    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "主键", column = "E")
    private String primaryKey;

    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "主BC", column = "F")
    private String mainBc;
    /**
     * 模板
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "模板", column = "G")
    private String template;
    /**
     * 配置
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "配置", column = "H")
    private String jsonconfig;
    /**
     * 描述
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "描述", column = "I")
    private String remark;
    /**
     * 0:正常 1：删除
     */
    @ApiModelProperty(value = "ID", dataType = "Integer")
    @ExcelAttribute(name = "0:正常/1:删除", column = "J")
    private Integer isDelete;
    /**
     * 0:正常 1：禁用
     */
    @ApiModelProperty(value = "ID", dataType = "Integer")
    @ExcelAttribute(name = "0:正常/1:禁用", column = "K")
    private Integer isEnable;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "创建人", column = "L")
    private String crtby;
    /**
     * 创建日期
     */
    @ApiModelProperty(value = "ID", dataType = "Date")
    @ExcelAttribute(name = "创建日期", column = "M")
    private Date crtdate;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "修改人", column = "N")
    private String updby;
    /**
     * 更新日期
     */
    @ApiModelProperty(value = "ID", dataType = "Date")
    @ExcelAttribute(name = "更新日期", column = "O")
    private Date upddate;
    /**
     * 创建人名
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "创建人名", column = "P")
    private String crtbyname;
    /**
     * 更新人名
     */
    @ApiModelProperty(value = "ID", dataType = "String")
    @ExcelAttribute(name = "更新人名", column = "Q")
    private String updbyname;
    /**
     * 更新人名
     */
    @ApiModelProperty(value = "来源id", dataType = "String")
    @ExcelAttribute(name = "来源id", column = "Q")
    private String sourceId;
    /**
     * 更新人名
     */
    @ApiModelProperty(value = "来源类型", dataType = "String")
    @ExcelAttribute(name = "来源类型", column = "Q")
    private String sourceType;
}
